Labelled principles
PrincipleRows
ui/PrincipleRows · labelled principles and conditions
- rest
- holds no link
- hover
- none: not a link
- focus-visible
- none: not focusable
-
Three kinds of instruction file
.github/copilot-instructions.mdcovers the whole repository,.github/instructions/*.instructions.mdcovers the paths in its applyTo glob, andAGENTS.md,CLAUDE.mdorGEMINI.mdserve as agent instructions. Copilot CLI and the cloud agent read all three. Copilot Chat in VS Code reads the first two plusAGENTS.md, and Copilot Chat in JetBrains IDEs reads only the first two. -
Custom agents, skills and hooks
Custom agents are
.agent.mdfiles in.github/agents. Skills live in.github/skills,.agents/skillsor.claude/skills, so skills built for Claude Code carry straight over. Hooks are JSON files in.github/hooks, used by Copilot CLI and the cloud agent. -
MCP, with GitHub already connected
Copilot CLI comes with the GitHub MCP server already connected. Add more per person with
/mcp addor~/.copilot/mcp-config.json, or for the whole team with.github/mcp.jsonin the repository. -
Per-tool approvals, sandbox on request
Copilot CLI reads and searches freely, and asks before it edits files, runs a command that changes anything or opens a URL.
--allow-tooland--deny-toolset per-tool rules for a session, and a deny rule wins even against--allow-all. The local sandbox stays off until you run/sandbox enableor pass--sandbox.--yoloallows every tool, path and URL at once, so it belongs inside the sandbox with bypass requests turned off. -
Your IDE matters
In our deliveries Copilot's agent ran well in VS Code and poorly in IntelliJ (January 2026). That's why teams on JetBrains IDEs train in Copilot CLI, which reads the same instruction files.